package com.vueperson.vueperson.t1.test01.supers;

public class Manger extends Employee{
    String name="李四";


    public void m1(){
//        this.work();
       this.name=super.name;
    }

    @Override
    public void work() {
        System.out.println("经理在工作");
    }

    public static void main(String[] args) {
        Manger manger=new Manger();
        manger.m1();
        System.out.println(manger.name);
    }

}
